import axios from 'axios';
import { baseUrl, req } from './axiosFun';

export const onduty = (params) => { return req("post", baseUrl + "/record/onduty", params) };
export const offduty = (params) => { return req("post", baseUrl + "/record/offduty", params) };
export const getRecordByUid = (params) => { return axios.get(baseUrl + "/record/" + params) };